package com.yyj.dao;

import com.yyj.model.TPropertyRepairRecord;
import com.yyj.model.TPropertyRepairRecordExample;
import java.util.List;

import com.yyj.web.protocol.req.RepairRecordQueryReq;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface TPropertyRepairRecordMapper {
    int countByExample(TPropertyRepairRecordExample example);

    int deleteByExample(TPropertyRepairRecordExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TPropertyRepairRecord record);

    int insertSelective(TPropertyRepairRecord record);

    List<TPropertyRepairRecord> selectByExampleWithRowbounds(TPropertyRepairRecordExample example, RowBounds rowBounds);

    List<TPropertyRepairRecord> selectByExample(TPropertyRepairRecordExample example);

    TPropertyRepairRecord selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TPropertyRepairRecord record, @Param("example") TPropertyRepairRecordExample example);

    int updateByExample(@Param("record") TPropertyRepairRecord record, @Param("example") TPropertyRepairRecordExample example);

    int updateByPrimaryKeySelective(TPropertyRepairRecord record);

    int updateByPrimaryKey(TPropertyRepairRecord record);

    List<TPropertyRepairRecord> queryOwnerRepairRecord(RepairRecordQueryReq repairRecordQueryReq);
}